Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@opennextjs/[email protected]
Minor Changes
#499
5037f57Thanks @vicb! - Refactor the codebase for consistencyBREAKING CHANGE
Overrides:
Overrides now live in
@opennextjs/cloudflare/overridesand some files have been renamed.@opennextjs/cloudflare/overrides/incremental-cache/...@opennextjs/cloudflare/overrides/tag-cache/...@opennextjs/cloudflare/overrides/queue/...For example the KV incremental cache override can be imported as
@opennextjs/cloudflare/overrides/incremental-cache/kv-incremental-cache.Environment variables and bindings name changes:
NEXT_CACHE_WORKERS_KV->NEXT_INC_CACHE_KVNEXT_CACHE_R2_...->NEXT_INC_CACHE_R2_...NEXT_CACHE_D1->NEXT_TAG_CACHE_D1NEXT_CACHE_DO_...->NEXT_TAG_CACHE_DO_...NEXT_CACHE_DO_REVALIDATION->NEXT_CACHE_DO_QUEUENEXT_CACHE_REVALIDATION_WORKER->WORKER_SELF_REFERENCEOther:
NEXT_CACHE_D1_TAGS_TABLEandNEXT_CACHE_D1_REVALIDATIONS_TABLEhave been dropped.The tables have a fixed names
tagsandrevalidations.#479
0c93e8bThanks @james-elicx! - feat: commands for cli actionsThe OpenNext Cloudflare CLI now uses the following commands;
build: build the applicationpopulateCache: populate either the local or remote cachepreview: populate the local cache and start a dev serverdeploy: populate the remote cache and deploy to production#490
00f6071Thanks @vicb! - Drop the deprecated kvCache in favor of kv-cachePatch Changes
#487
0702d2eThanks @james-elicx! - feat: support passing the wrangler environment when populating the cache#480
e0ec01dThanks @conico974! - fix deduplication for memory queue and add some log#481
9b0db4dThanks @conico974! - fixres.revalidatenot working in page router api route#484
6ce5643Thanks @conico974! - Add sharding replication for the Durable Object Tag Cache#470
2650043Thanks @conico974! - feat: add a sharded SQLite Durable object implementation for the tag cache#485
ced7d46Thanks @conico974! - add an option for disabling sqlite on the durable object queue#460
60171f5Thanks @conico974! - feat: durable object de-duping revalidation queue#497
958f322Thanks @vicb! - Switch to bundled middleware#436
86c0139Thanks @james-elicx! - feat: auto-populating d1 cache data#464
acfc7f3Thanks @conico974! - Implement next mode for d1 tag cache that will reduce write#486
25a8f4cThanks @conico974! - auto create table for D1NextModeTagCache#443
54508ffThanks @james-elicx! - feat: r2 adapter for the incremental cache#491
e9dc621Thanks @vicb! - Serve/cdn-cgi/image/...images in dev